package com.saxon.springcloud.service;

import com.saxon.springcloud.pojo.Dept;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface DeptService {
    int insertDept(Dept dept);

    Dept queryDeptById(long id);

    List<Dept> queryAllDept();
}
